package com.experience.we.lambda;

import com.google.common.collect.Lists;

import java.util.List;
import java.util.Optional;

public class OptionalTest {

    public static void main(String[] args) {
        List<Apple> list = Lists.newArrayList();
        boolean present = Optional.ofNullable(list).isPresent();
        System.out.println(present);
    }


    public static String option(){


        return null;
    }
}
